package com.ShoppingLover;

public class TestGoods {
    public static void main(String[] args) {
        GoodsType gt = new GoodsType();
        gt.setTypeName("洗发水");
        gt.setTypeNum("1001");
        GoodsInfor g1=new GoodsInfor("潘婷洗发水400ml",gt,16,40.5);
        g1.show();
        System.out.println("======================");
        GoodsInfor g2=new GoodsInfor("蜂花洗发水250ml",gt,2,36.3);
        g2.show();
    }
}